package com.liliya.shiro;

/**
 * @Description TODO
 * @Author hhy
 * @Date 2021/5/7 19:25
 */
import org.apache.shiro.SecurityUtils;

public class ShiroUtil {

    public static AccountProfile getProfile() {
        return (AccountProfile) SecurityUtils.getSubject().getPrincipal();
    }

}